zeros — matrix of zeros


\begin{rail}
zeros : 'zeros' '(' (( Scalar ',' Scalar ) \vert ( Matrix )) ')' ;
\end{rail}
zeros returns a matrix with all elements set to zero. If the arguments are two scalars, then the first argument specifies the number of rows, and the second argument specifies the number of columns. If the argument is a matrix, then zeros returns a matrix with the number or rows specified by the first argument, and number of columns specified by the second argument. This is the same form as the return value of size.

Subsections